/* 
 * File:   driver_buzzer.h
 * Author: Ich
 *
 * Created on 12. Januar 2014, 16:53
 *
 * Description:
 * driver for buzzer AST1109MLTRQ. This is a piezo buzzer with following spec.:
 * - oscillation frequency [Hz]:        4100 +/- 500
 * - current consumption max. [mA]:     ~1.0
 * - sound prssure level [dB/min]:      73 @ 10cm at 5.0Vpp
 */

#ifndef DRIVER_BUZZER_H
#define	DRIVER_BUZZER_H

#ifdef	__cplusplus
extern "C" {
#endif

#include <GenericTypeDefs.h>
/*******************************************************************************
 *  public preprocessing definitions
 */

 /*******************************************************************************
 *  public variables
 */

/*******************************************************************************
 *  public functions
 */
void drvBuzzer_init (void);
void drvBuzzer_on  (void);
void drvBuzzer_off  (void);
BOOL drvBuzzer_isOn(void);
void drvBuzzer_setSignalWithDMA(const UINT16 *pSignalData, UINT16 dataLen);


#ifdef	__cplusplus
}
#endif

#endif	/* DRIVER_BUZZER_H */

